package cn.sccl.dirms.dev.service.impl;

import cn.sccl.common.service.impl.BaseManagerImpl;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import cn.sccl.common.dao.BaseDAO;
import cn.sccl.dirms.dev.service.ChartManager;
import cn.sccl.dirms.dev.dao.ChartDAO;
import cn.sccl.dirms.dev.model.Chart;

/**
 * 的Manager实现类
 * Created by liupan on 2017-06-24.
 */
@Service
public class ChartManagerImpl extends BaseManagerImpl<Chart> implements ChartManager {

    @Autowired
    private ChartDAO chartDAO;

    public ChartDAO getChartDAO() {
        return chartDAO;
    }

    @Override
    public BaseDAO<Chart> getBaseDAO() {
        return getChartDAO();
    }
}